import {myRequest} from './http.js'
 
export function statistics (userid) {  //获取历史记录
	return myRequest({
		url:'api/dynamic/MahjongController/HistoryCard?id='+userid,
		method:'get',
	})
}
export function myGames (userid) {  //获取历史记录
	return myRequest({
		url:'api/dynamic/MahjongController/MyGames?id='+userid,
		method:'get',
	})
}
export function detail (tableid) {  //获取历史记录
	return myRequest({
		url:'api/dynamic/MahjongController/GameDetail?tableid='+tableid,
		method:'get',
	})
}